package com.yudean.esb.dao.erp;

import com.yudean.esb.domain.erp.ErpIdsApChecksInt;
import com.yudean.esb.mapper.erp.ErpIdsApChecksIntMapper;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;
@Repository
@Scope("prototype")
public class ErpIdsApChecksIntDao {

    @Resource
    public ErpIdsApChecksIntMapper erpIdsApChecksIntMapper;

    public int insertSelective(ErpIdsApChecksInt record) {
        return erpIdsApChecksIntMapper.insertSelective(record);
    }

    public int batchInsertErpIdsApChecksIntData(List<ErpIdsApChecksInt> erpIdsApChecksIntList) {
        return erpIdsApChecksIntMapper.batchInsertErpIdsApChecksIntData(erpIdsApChecksIntList);
    }


    public int deleteApChecksIntByControlId(long controlId) {
        return erpIdsApChecksIntMapper.deleteApChecksIntByControlId(controlId);
    }
}
